const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.avatar,
  name: state => state.user.userInfo.nickname,
  tags: state => state.article.tags,
  cates: state => state.article.cates,
  routes: state => state.permission.routes // 导出当前的路由
}
export default getters
